<?php
        function mydate($date)
        {
           $day=substr($date,8,2);
           //$mymonth = array('January','February','March','April','May','June','July','August','September','October','November','December');
           $mymonth = array('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');
           $month=substr($date,5,2);
           $year=substr($date,0,4);
           $temp=$day.' '.$mymonth[$month-1].' '.$year;
           return $temp;
        }

         
 ?>